<?php
/*******************************************************************************
 * $Date:: Jan 24, 2011 4:10:33 PM                                              $
 * $Revision:                                                                  $
 * $Author:: Tuan Duong                                                        $
 * $Comment::                                                                  $
 ******************************************************************************/ 
/**
 * Description here...
 * 
 * @package Lua
 * @subpackage ##Subpackage##
 * @author Tuan Duong <bacduong[at]gmail[dot]com>
 * @version 
 */

class Lua_Form_ButtonsDecorator extends Zend_Form_Decorator_Abstract
{
    public function render($content)
    {
//        $html = '<tr><td></td><td colspan="2">';
//        $html .= '<input type="submit" />';
//        $html .= '<input type="reset" />';
//        $html .= '</td></tr>';
        $html = '<div class="buttons">';
        $html .= '<input class="submit-button" type="submit" value="Submit" />';
        $html .= '<input class="clear-button" type="reset" />';
        $html .= '</div>';
        return $content . $html;
    }
}
